import http from '@/utils/http';

/**
 * 文件上传
 * @param formData
 */
export function fileUpload(formData: any) {
    return http.post('resources/upload', formData, {
        transformRequest: [function(params) {
            return params;
        }]
    });
}
